function TranslationTest (interpretation, flag, comment) {
	// body...
	this.interpretation = interpretation;
	this.flag = flag;
	this.comment = comment;
}

var arrayTranslationTest = {
	// line
	"0": new TranslationTest("Negative", false, ""),
	// noline
	"1": new TranslationTest("Presumptive Positive", true, "Inconsistent results."),
	// unclear
	"2": new TranslationTest("Unclear ", true, "Inconsistent results. Confirm at laboratory threshold.")
};

function IsFlag(observation){
	return arrayTranslationTest[observation].flag;
}

function GetInterpretation(observation){
	return arrayTranslationTest[observation].interpretation;
}

function GetTestComment(observation){
	// console.log("observation: " + observation);
	// if(observation == 0 || observation == 1 || observation == 2)
	// 	console.log("number");
	// if(observation == "0" || observation == "1" || observation == "2")
	// 	console.log("string");

	return (IsFlag(observation)) ? arrayTranslationTest[observation].comment : "";
}